package com.aiit.service;

import com.aiit.dto.TeaOrderDTO;
import com.aiit.entity.TeaOrder;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

@Service
public interface OrderService {
    boolean existsByOrderId(Long orderId);

    Page<TeaOrder> adminOrder(TeaOrderDTO teaOrderDTO);

    void updatePayment(TeaOrderDTO teaOrderDTO);

    void updateDeliver(TeaOrderDTO teaOrderDTO);
}
